]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshield: use the correct actor for the background
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 6 Nov 2012 22:44:11 +0000 (17:44 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 6 Nov 2012 22:47:13 +0000 (17:47 -0500)
Commit 4fd690333aa3713b48128cded71a3f11234729a9 added the GLSL snippet to
the background actor, but then discarded the newly created actor.

js/ui/screenShield.js

index e47f0aa7c74a7227a3e0cdf073ac80bd35b53f3e..7c7c7c020d29514460442e2931961d1053d09d04 100644 (file)
@@ -409,7 +409,7 @@ const ScreenShield = new Lang.Class({
                                          GLSL_BLUR_EFFECT_CODE,
                                          true);
         this._background = new St.Bin({ style_class: 'screen-shield-background',
-                                        child: Meta.BackgroundActor.new_for_screen(global.screen) });
+                                        child: backgroundActor });
         this._lockScreenGroup.add_actor(this._background);
         this._lockScreenGroup.add_actor(this._lockScreenContents);